package com.example.merchantdemo.paymentstart.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

public class InitToPayment {

    @NotBlank(message = "平台订单号不能为空")
    private String billCode;

    @NotBlank(message = "商家id不能为空")
    private String merchantId;

    @NotNull(message = "请求时间戳不能为空")
    private Long requestTimestamp;

    @NotBlank(message = "商家签名不能为空")
    private String merchantSign;

    public String getBillCode() {
        return billCode;
    }

    public void setBillCode(String billCode) {
        this.billCode = billCode;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public Long getRequestTimestamp() {
        return requestTimestamp;
    }

    public void setRequestTimestamp(Long requestTimestamp) {
        this.requestTimestamp = requestTimestamp;
    }

    public String getMerchantSign() {
        return merchantSign;
    }

    public void setMerchantSign(String merchantSign) {
        this.merchantSign = merchantSign;
    }
}
